package com.issac;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@SpringBootApplication
@EnableGlobalMethodSecurity(prePostEnabled = true)// 开启注解权限认证PreAuthorize
public class FinalTaskApplication {

	public static void main(String[] args) {
		SpringApplication.run(FinalTaskApplication.class, args);
	}

}
